package com.netposa.datawarehouse.statistics.vo;

import java.beans.ConstructorProperties;
import java.util.List;

public class HomeVehicleResp {
   private Integer count;
   private List list;

   public Integer getCount() {
      return this.count;
   }

   public List getList() {
      return this.list;
   }

   public void setCount(Integer count) {
      this.count = count;
   }

   public void setList(List list) {
      this.list = list;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof HomeVehicleResp)) {
         return false;
      } else {
         HomeVehicleResp other = (HomeVehicleResp)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$count = this.getCount();
            Object other$count = other.getCount();
            if (this$count == null) {
               if (other$count != null) {
                  return false;
               }
            } else if (!this$count.equals(other$count)) {
               return false;
            }

            Object this$list = this.getList();
            Object other$list = other.getList();
            if (this$list == null) {
               if (other$list != null) {
                  return false;
               }
            } else if (!this$list.equals(other$list)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof HomeVehicleResp;
   }

   public int hashCode() {
      
      int result = 1;
      Object $count = this.getCount();
      result = result * 59 + ($count == null ? 43 : $count.hashCode());
      Object $list = this.getList();
      result = result * 59 + ($list == null ? 43 : $list.hashCode());
      return result;
   }

   public String toString() {
      return "HomeVehicleResp(count=" + this.getCount() + ", list=" + this.getList() + ")";
   }

   @ConstructorProperties({"count", "list"})
   public HomeVehicleResp(Integer count, List list) {
      this.count = count;
      this.list = list;
   }

   public HomeVehicleResp() {
   }
}
